package com.xzj.springmvc.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ProjectName: SpringDemo
 * @Package: com.xzj.springmvc.annotation
 * @ClassName: RequestBody
 * @Author: xzj
 * @Description:
 * @Date: 2022/7/18 14:49
 * @Version: 1.0
 */
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestBody {
    boolean required() default true;
}
